from(X) → cons(X, from(s(X)))
after(0, XS) → XS
after(s(N), cons(X, XS)) → after(N, XS)
from: {1}
cons: {1}
s: {1}
after: {1, 2}
0: empty set
↳ CSR
↳ CSRInnermostProof
from(X) → cons(X, from(s(X)))
after(0, XS) → XS
after(s(N), cons(X, XS)) → after(N, XS)
from: {1}
cons: {1}
s: {1}
after: {1, 2}
0: empty set
The CSR is orthogonal. By [10] we can switch to innermost.
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
from(X) → cons(X, from(s(X)))
after(0, XS) → XS
after(s(N), cons(X, XS)) → after(N, XS)
from: {1}
cons: {1}
s: {1}
after: {1, 2}
0: empty set
Innermost Strategy.
Using Improved CS-DPs we result in the following initial Q-CSDP problem.
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
AFTER(s(N), cons(X, XS)) → AFTER(N, XS)
AFTER(s(N), cons(X, XS)) → XS
from(s(X))
s on positions {1}
from on positions {1}
AFTER(s(N), cons(X, XS)) → U(XS)
U(s(x_0)) → U(x_0)
U(from(x_0)) → U(x_0)
U(from(s(X))) → FROM(s(X))
from(X) → cons(X, from(s(X)))
after(0, XS) → XS
after(s(N), cons(X, XS)) → after(N, XS)
from(x0)
after(0, x0)
after(s(x0), cons(x1, x2))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDPSubtermProof
↳ QCSDP
U(s(x_0)) → U(x_0)
U(from(x_0)) → U(x_0)
from(X) → cons(X, from(s(X)))
after(0, XS) → XS
after(s(N), cons(X, XS)) → after(N, XS)
from(x0)
after(0, x0)
after(s(x0), cons(x1, x2))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
U(s(x_0)) → U(x_0)
U(from(x_0)) → U(x_0)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDPSubtermProof
↳ QCSDP
↳ PIsEmptyProof
↳ QCSDP
from(X) → cons(X, from(s(X)))
after(0, XS) → XS
after(s(N), cons(X, XS)) → after(N, XS)
from(x0)
after(0, x0)
after(s(x0), cons(x1, x2))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPSubtermProof
AFTER(s(N), cons(X, XS)) → AFTER(N, XS)
from(X) → cons(X, from(s(X)))
after(0, XS) → XS
after(s(N), cons(X, XS)) → after(N, XS)
from(x0)
after(0, x0)
after(s(x0), cons(x1, x2))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
AFTER(s(N), cons(X, XS)) → AFTER(N, XS)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPSubtermProof
↳ QCSDP
↳ PIsEmptyProof
from(X) → cons(X, from(s(X)))
after(0, XS) → XS
after(s(N), cons(X, XS)) → after(N, XS)
from(x0)
after(0, x0)
after(s(x0), cons(x1, x2))